package com.ekuaitu.kuaitu.bean;

/**
 * Created by Michael Pi on 2016/10/9.
 */
public class UploadImageBean {

    /**
     * status : 200
     * message : 成功
     * debug : null
     * attachment : {"token":"UPLOAD_AK_TOP MjM0NjY1Njk6ZXlKa1pYUmxZM1JOYVcxbElqb3hMQ0prYVhJaU9pSnJkV0ZwZEhWa2IyNW5iR2t2Y0dsamRIVnlaU0lzSW1WNGNHbHlZWFJwYjI0aU9qRTBOell3TURBeU1qZ3dNak1zSW1sdWMyVnlkRTl1YkhraU9qQXNJbTVoYldVaU9pSXlOeUlzSW01aGJXVnpjR0ZqWlNJNkltdDFZV2wwZFMxMFpYTjBJaXdpYzJsNlpVeHBiV2wwSWpvd2ZROjNhMWQyOTA2ODNmMWE4MmQ2Y2UzZTdmNTAzYTI0YmNiMjI5MDliYmU","key":27}
     */

    private int status;
    private String message;
    private Object debug;
    /**
     * token : UPLOAD_AK_TOP MjM0NjY1Njk6ZXlKa1pYUmxZM1JOYVcxbElqb3hMQ0prYVhJaU9pSnJkV0ZwZEhWa2IyNW5iR2t2Y0dsamRIVnlaU0lzSW1WNGNHbHlZWFJwYjI0aU9qRTBOell3TURBeU1qZ3dNak1zSW1sdWMyVnlkRTl1YkhraU9qQXNJbTVoYldVaU9pSXlOeUlzSW01aGJXVnpjR0ZqWlNJNkltdDFZV2wwZFMxMFpYTjBJaXdpYzJsNlpVeHBiV2wwSWpvd2ZROjNhMWQyOTA2ODNmMWE4MmQ2Y2UzZTdmNTAzYTI0YmNiMjI5MDliYmU
     * key : 27
     */

    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        private String token;
        private String key;

        public String getToken() {
            if (token == null) {
                token = "";
            }
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getKey() {
            if (key == null) {
                key = "";
            }
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }
    }
}
